package com.dsh.authorityManagement.dao;

import com.dsh.authorityManagement.entity.AdminDoctor;
import com.dsh.authorityManagement.entity.vo.AdminOfficeVo;
import com.dsh.authorityManagement.entity.vo.OfficeVo;
import com.dsh.authorityManagement.entity.vo.Uid;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DoctorDao {
    void insert(AdminDoctor adminDoctor);

    AdminOfficeVo selectById(int id);

    OfficeVo selectByOfficeId(int id);

    void update(@Param("adminDoctor") AdminDoctor adminDoctor);
    List<Uid>  selectId();
}
